<?php
	require_once("../../library/function/connect.php");
	if(isset($_GET['id']))
	{
		$id = $_GET['id'];
		$query = mysql_query(" DELETE FROM thanhvien WHERE id = '{$id}' ");
		if($query)
			header("Location:../../index.php?page=list_member&msg=true#tb");
		else
			header("Location:../../index.php?page=list_member&msg=false#tb");
	}
?>